package com.cicigodd.brick.plug.system.user.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.cicigodd.brick.plug.common.request.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;


/**
 * 系统用户管理
 *
 * @author cicigodd
 * @date 2022/09/22 14:42:03
 */
@Data
public class SysUserEditRequest{

    @ApiModelProperty(value = "用户id",required = true)
    private Integer id;

    @TableField("nick_name")
    @ApiModelProperty("昵称")
    private String nickName;

    @TableField("account")
    @ApiModelProperty("账号")
    private String account;

    @TableField("password")
    @ApiModelProperty("密码")
    private String password;

    @TableField("avatar")
    @ApiModelProperty("头像")
    private String avatar;

    @TableField("birthday")
    @ApiModelProperty("生日")
    private String birthday;

    @TableField("sex")
    @ApiModelProperty("性别 M-男 F-女")
    private String sex;

    @TableField("user_type")
    @ApiModelProperty("用户类型")
    private Integer userType;

    @TableField("real_name")
    @ApiModelProperty("姓名")
    private String realName;

    @TableField("idcard")
    @ApiModelProperty("身份证号")
    private String idcard;

    @TableField("phone")
    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty("状态")
    private String statusFlag;

    @ApiModelProperty("是否是经销商")
    private String dealerFlag;


    @ApiModelProperty("所属经销商")
    private Integer dealerId;

    @ApiModelProperty("地区")
    private String region;

    @ApiModelProperty("角色ids")
    private List<Integer> roleIds;


}